<%@ page import="com.timeDeal.bean.GuanliyuanBean" %>
<%--
  Created by IntelliJ IDEA.
  User: 妮子
  Date: 2016/8/31
  Time: 17:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String ctxpath=request.getContextPath();
    GuanliyuanBean admin =(GuanliyuanBean)request.getSession().getAttribute("ADMIN") ;
%>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>欢迎使用时间交易系统</title>
    <link href="<%=ctxpath%>/static/bootstrap-3.3.5-dist/css/bootstrap.min.css" rel="stylesheet"  />
    <link href="<%=ctxpath%>/static/admin.css" rel="stylesheet"  />
    <script src="<%=ctxpath%>/static/bootstrap-3.3.5-dist/js/jquery.min.js"></script>
    <script src="<%=ctxpath%>/inc/admin.js"></script>
    <script language="javascript" type="text/javascript" src="<%=ctxpath%>/static/My97DatePicker/WdatePicker.js"></script>
</head>
<body style="background-image: url(<%=ctxpath%>/img/222.jpg);background-size:100%;clear: both;margin-left: 200px;margin-right: 200px">

<img src="<%=ctxpath%>/img/logo.jpg" align="left"/>
<%
    if(admin!=null){ %>
      <span style="float: left"><h1><strong>欢迎管理员<h2><%=admin.getZhanghao()%><h2>使用时间交易系统</strong></h1></span>
      <button class="btn" id="layout" name="layout">退出</button>
   <% }else {%>
<span style="float: left"><h1><strong>欢迎您管理员请登录！</strong></h1></span>
     <%}%>
<div style="text-align: center">

</div>
<div class="container" style="clear:both;margin-right: 200px">